<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>悬挂式布局</title>
    <style>
        .con {
            width: 500px;
            height: 400px;
            background-color: lightgray;
            border-radius: 10px;
            display: flex;
        }
        img {
            width: 50px;
            height: 50px;
            margin-right: 1em;
        }
        p {
            padding-right: 2em;
        }
    </style>
</head>
<body>
    <div class="con">
        <img src="../images/yimiao.jpeg" alt="">
        <p>氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。氓之蚩蚩，抱布贸丝；匪来贸丝。</p>
    </div>
</body>
</html>